﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ViewModel;

namespace IssueTracker.CustomControls
{
    public partial class popup_IssueListTemplate : UserControl
    {
        List<Issue> issues = new List<Issue>();
        public popup_IssueListTemplate(List<Issue> items)
        {
            InitializeComponent();
            issues = items;
        }

        private void popup_IssueListTemplate_Load(object sender, EventArgs e)
        {
            foreach (var item in issues)
            {
                listViewIssues.Items.Add(item.DisplayText);
            }
        }
    }
}
